<template>
  <div class="page">
    <h2>该页面默认会被缓存</h2>
    <el-form :model="formOptions" label-width="60px">
        <el-form-item label="名称">
          <el-input v-model="formOptions.name" />
        </el-form-item>
    </el-form>
  </div>
</template>

<script setup>
  import { getCurrentInstance } from 'vue'

  defineOptions({
    name: 'rule-setting'
  })

  // 初始化操作
  const { appContext } = getCurrentInstance()
  const { config, $router } = appContext.config.globalProperties

  let formOptions = $ref({
    name: null
  })
</script>

<style scoped lang="scss"></style>